
<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8">
    <title>新浪博客</title>
    <meta name="keywords" content="blog,博客,blog博客,blog博客新闻,blog博客资讯,blog博客信息,新浪blog博客">
    <meta name="description" content="新浪网博客频道是全中国最主流，最具人气的博客频道。拥有最耀眼的娱乐明星博客、最知性的名人博客、最动人的情感博客，最自我的草根博客!">
    <script>
        ;(function(){
            var ua = navigator.userAgent;
            if(/AppleWebKit.*Mobile.*/i.test(ua) && /AppleWebKit/i.test(ua) && !/iPad/i.test(ua)){
                location.href = 'http://blog.sina.cn';
            }
        })();
    </script>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <!-- 360 启动急速模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="renderer" content="webkit">
    <!--[if IE]>
    <script src="http://n.sinaimg.cn/blog/lib/es5-shim.min.js"></script>
    <script src="http://n.sinaimg.cn/blog/lib/es5-sham.min.js"></script>
    <![endif]-->
    <script src="http://n.sinaimg.cn/blog/lib/es6-promise.min.js"></script>
    <!--
        926/930
        <link href="http://mjs.sinajs.cn/blog/items/2018/blogIndex/css/index-e0b2f3.css" rel="stylesheet">
    -->
    <link href="http://mjs.sinajs.cn/blog/items/2018/blogIndex/css/index-353978.css" rel="stylesheet">
    <script src="/js/jquery-1.8.0.js"></script>
    <script src="/js/LoginJsp/js/jquery.min.js"></script>
    <script src="/js/LoginJsp/js/jquery-ui.min.js"></script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <link rel="stylesheet" href="/js/LoginJsp/layui/css/layui.css">
    <script src="/js/LoginJsp/layui/layui.js"></script>
    <script src="/js/LoginJsp/js/Treatment.js"></script>
    <script type="text/javascript" src="http://mjs.sinajs.cn/blog/items/2018/blogIndex/js/manifest-0fea88.js"></script>
    <script type="text/javascript" src="http://mjs.sinajs.cn/blog/items/2018/blogIndex/js/vendor-46a2e2.js"></script>
    <script type="text/javascript" src="http://mjs.sinajs.cn/blog/items/2018/blogIndex/js/index-568c95.js"></script>
    <link rel="stylesheet" href="/layer/mobile/need/layer.css">
    <script src="/layer/mobile/layer.js"></script>
    <link rel="stylesheet" href="/layer/theme/default/layer.css">
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/layui/css/layui.mobile.css">
    <script src="/layui/layui.all.js"></script>
<script>
    function num(n){

        return n%1===0;

    }
    function chongzhi(){
        layer.prompt({title: '尊敬的用户您好,本积分1元1分,输入充值数量，请确认', formType: 3}, function(value, index){
          if (num(value)) {
              if(value<1){
                  layer.alert("不能为负数!");
                  return;
              }
              location.href="/goAlipay?price="+value+"&status="+1+"&userId="+$("#usid").val();
            } else {
              layer.alert("请输入整数！");
              return;
          }
        });

    }
</script>

    <script src="http://n.sinaimg.cn/blog/0977ce10/20180408/jsload.js"></script>
    <!--<script>document.domain = "sina.com.cn";</script>-->

</head>
<body>
<script src="http://n.sinaimg.cn/blog/0977ce10/20180408/jsload.js"></script>
<!--<script>document.domain = "sina.com.cn";</script>-->
<script>
    //页面加载事件
    $(function(){
        caijing();
        junshi();
        meishi();
        qiche();
        //导航
        queryDaohang();
        //活动

        huodong();
        //journalism();
        goTo();
        showBks();
        showBks1();

        //头像
        $("#imgName").attr("src", $("#imgha").val());
    });
    function toShow(){
       layer.open({
                type: 1,
                skin: 'layui-layer-rim', //加上边框
                area: ['500px', '400px'], //宽高
                content: '<form id="bkform"><input type="text" id="imgs" hidden name="img"></br><input id="nickName"  hidden name="nickName">想说点啥</br><input type="text" name="bktext"></br></form><button onclick="addBks()">发表</button>'
            });
        $("#nickName").val($("#nickname").val());
        $("#imgs").val($("#img2").val());
    }
    function addBks(){
        $.ajax({
            url:"/bks/addBks",
            type:"POST",
            data:$("#bkform").serialize(),
            success:function(pageUtil){
                if(pageUtil==1){
                    layer.alert("发表成功");
                    window.location.reload();
                }else{
                    //ErroAlert('登录失败,密码或者账号不正确');
                    layer("系统繁忙，请稍后重试");
                    layer.close();
                    window.location.reload();
                }
            },
            error:function(){
                layer.alert("网络繁忙,请稍等")
            }
        });
    }
    function queryDaohang(){
        $.ajax({
            url:"/daohang/querydaohang",
            success:function(daohang){
                var countent='';
                $.each(daohang,function(index,obj){
                    countent+='<li><a href=""'+obj.dvalue+'" target="_blank">'+obj.dname+'</a></li>';
                });
                $("#daohang").html(countent);
            }
        })
    }
    //根据财经
    function caijing(){
        $.ajax({
            type:"get",
            url:"/liuHeYi/getKeji",
            success:function(data){
                var countent='';
                $.each(data,function (index,obj){
                    countent+='<i class="top-bg"><span>'+(index+1)+'</span></i><li><a href="###" target="_blank"><span>'+obj.bkname+'</span></a></li>';
                    if(index==4){
                        return  false ;
                    }
                });
                $("#caijing").append(countent);
            },
            error:function(){
                layer.alert("网络繁忙,请稍等")
            }

        })
    }
    //根据军事
    function junshi(){
        $.ajax({
            type:"get",
            url:"/liuHeYi/getKeji",
            success:function(data){
                var countent='';
                $.each(data,function (index,obj){
                    countent+='<i class="top-bg"><span>'+(index+1)+'</span><li><a href="###" target="_blank"><span>'+obj.bkname+'</span></a></li>';
                    if(index==4){
                        return  false ;
                    }
                });
                $("#junshi").append(countent);
            },
            error:function(){
                layer.alert("网络繁忙,请稍等")
            }

            })
        }
        //新闻接口
        function journalism(){
            var str=new Date().getDay();
            var list1=Array("start","top","shehui","yule","caijing","junshi","tiyu");
            var list2=Array("开始","头条","社会","娱乐","财经","军事","体育");
            for(var i=0;i<list1.length;i++){ //for循环变量，变量在list取值的个数
                if(str==i){
                    console.log(list1[i]);
                    var type=list1[i];
                }
            }
            for(var j=0;j<list2.length;j++){
                if(str==j){
                    console.log(list2[j]);
                    var types=list2[j];
                    var cantent='<font style="color:brown;" size="3px">'+types+'</font>';
                    $("#biaoti").html(cantent);
                }

        }
        $.ajax({
            url:"/http/journalism",
            type : "POST",
            data:{type:type},
            success : function(reset) {
                var arrayList=reset.journalism;
                var content='';
                var  j=0;
             /*   alert(arrayList);*/
                for(var i=0;i<arrayList.length;i++){
                    content+='<ul><i class="top-bg"><li><a href="'+ arrayList[i].url +'" target="_blank">' + arrayList[i].title + '&nbsp;&nbsp;' + arrayList[i].date + '</a></li></ul>';
                    if(i==5){
                        break;
                    }
                }
                $("#journalism").html(content);
            },
            error : function() {
                layer.alert("网络繁忙,请稍等")
            }
                //<i class="top-bg"><span>'+(index+1)+'</span>
               // <a class="more" href="http://blog.sina.com.cn/lm/history/" target="_blank"></a>
        });
    }
    //根据美食
    function meishi(){
        $.ajax({
            type:"get",
            url:"/liuHeYi/getMeiShi",
            success:function(data){
                var countent='';
                $.each(data,function (index,obj){
                    countent+='<i class="top-bg"><span>'+(index+1)+'</span><li><a href="###" target="_blank"><span>'+obj.bkname+'</span></a></li>';
                    if(index==4){
                        return  false ;
                    }
                });
                $("#meishi").append(countent);
            },
            error:function(){
                layer.alert("网络繁忙,请检查")
            }

        })
    }
    function huodong(){
        $.ajax({
            type:"get",
            url:"/liuHeYi/getTiYu",
            success:function(data){
                var countent='';
                $.each(data,function (index,obj){
                    countent+='<li><i></i><a target="_blank" href="###">'+obj.bkname+'</a></li>';
                    if(index==3){
                        return  false ;
                    }
                });
                $("#huodong").append(countent);
            },
            error:function(){
                layer.alert("网络繁忙,请检查")
            }

        })
    }
    function xiaoxi(){
        var authorid=$("#userid").val();
        $.ajax({
            type:"get",
            url:"/add/selectPl",
            data:{authorid:authorid},
            success:function(count){
                $("#sss").html(count)
            },
            error:function(){
                layer.alert("网络繁忙,请检查")
            }

        })

    }
    //根据汽车
    function qiche(){
        $.ajax({
            type:"get",
            url:"/liuHeYi/getTiYu",
            success:function(data){
                var countent='';
                $.each(data,function (index,obj){
                    countent+='<i class="top-bg"><span>'+(index+1)+'</span><li><a href="###" target="_blank"><span>'+obj.bkname+'</span></a></li>';
                    if(index==4){
                        return  false ;
                    }
                });
                $("#qiche").append(countent);
            },
            error:function(){
                layer.alert("网络繁忙,请稍等")
            }

        })
    }
    //刷新页面
    function loginout(){
        $.ajax({
            url:"/user/remove",
            type:"POST",
            async:false,
            success:function(aa){
                window.location.reload();
            },
            error:function(){
                layer.alert("网络繁忙,请稍等")
            }
        });
    }
    //登录服务
    function tologin() {
        $.ajax({
            url:"/login/userLogin",
            type:"POST",
            data:$("#tableFrom").serialize(),
            success:function(result){


                 if(result){
                     layer.msg("登录成功")
                     location.reload();
                 }else{
                     layer.msg("账号或密码有误")
                 }

            },
            error:function(){
                layer.alert("网络繁忙,请稍等")
            }
        });
    }

    function showBks1(){
        $.ajax({
            type:"get",
            url:"/bks/selectBks",
            success:function(data){
                var countent='';
                $.each(data,function (index,obj){
                    var unixTimestamp =new Date(obj.bkdate);
                    commonTime = unixTimestamp.toLocaleString();
                    countent+='<li><a href="###"><img src="'+obj.img+'" alt='+obj.nickName+'>' +
                        '</a><div><p><a href="http://blog.sina.com.cn/s/blog_70b01ac50102yb7t.html?tj=1" target="_blank">'+obj.bktext+'</a></p>'+
                        '<span>'+commonTime+'</span></div></li>';
                    if(index==4){
                        return  false ;
                    }
                });
                $("#dakashuo1").append(countent);
            },
            error:function(){
                layer.alert("网络繁忙,请稍等")
            }

        })


    }
    //注册页面
    function toregister(){




    }

    function userinit(){
        $.ajax({
            url:"/user/queryUserbyid",
            type:"POST",
            data:{id:$("#userid").val()},
            success:function(data){
                if(data.vipdate!=null){
                    var unixTimestamp =new Date(data.vipdate);
                    commonTime = unixTimestamp.toLocaleString();
                    $("#daoqi").html(commonTime)
                }else{

                    $("#daoqi").html("请购买会员")
                }


            },
            error:function(){
                layer.alert("网络繁忙,请稍等")
            }



        })
    }

    //登录转换页面
    function goTo() {
        var content='';
        var hy='';
        if($("#hy").val()==1){

            hy="普通用户";
        }else if($("#hy").val()==2){
            hy="普通会员";
        }else{

            hy="超级会员";
        }
        if ($("#hy").val()!=null&&$("#hy").val()>0){
            
            content ='<div class="logined"><div class="logined-user-info"><a href="###" suda-uatrack="key=2018_blog_index&amp;value=my_img" target="_blank"><img  id="imgName" alt=""></a><a class="logined-name" target="_blank" suda-uatrack="key=2018_blog_index&amp;value=my_name" href="###">'+$("#username").val()+'</a></div><ul><li><span><a href="/view/toView?view=vip">'+hy+'</a></span></li><li><span>积分<a id="user-point" suda-uatrack="key=2018_blog_index&amp;value=my_point" href="javascript:chongzhi()" target="_blank">'+$("#userjifen").val()+'</a></span></li>'+
                '<li><span>消息<a id="sss"></a></span></li></ul><br>vip到期:<font color="red" id="daoqi"></font><div class="logined-bottom-btn"><a class="to-set-interest" suda-uatrack="###" href="" onclick="loginout()">'+

                '退出登录</a><a class="write-blog" target="_blank" suda-uatrack="key=2018_blog_index&amp;value=my_newblog" href="/view/toView?view=WritingBlog" target="_blank" onclick="toWrite()">写博客</a></div></div><div class="b-user-talk" data-sudaclick="blog_dks"><h3>博客大咖说</h3><span><a onclick="toShow()">我也要发表</a></span>'+
                '<span></span><marquee direction="up" onMouseOver="this.stop()" onMouseOut="this.start()"><ul id="dakashuo1"></ul></marquee></div>';
            xiaoxi();
            userinit();
        }else{


            content='<!-- 登录信息 -->\n' +
                '                <div class="login-info" data-sudaclick="blog_user">\n' +
                '                    <div class="not-login" >\n' +
                '                        <p>新浪博友，欢迎回来！</p>\n' +
                '                        <form id="tableFrom" method="post">\n' +
                '                        <input id="loginName" name="userAccout" type="text" autocomplete="off" placeholder="微博/博客/邮箱/手机号">' +
                '                        <!--<div class="mail-list" style="display: block;">\n' +
                '                            <span>请选择登录类型</span>\n' +
                '                        </div>-->\n' +
                '                        <input id="loginPassword" name="userPwd" type="password" autocomplete="off" placeholder="请输入密码">'+
                '                        </form>'+
                '                            <div class="btn-row">'+
                '                            <div class="jfl">'+
                '                                <a id="submit-btn" suda-uatrack="key=2018_blog_index&amp;value=my_signin" class="login-btn" onclick="tologin()">登录</a>' +
                '                            </div>' +
                '                                <div class="jfr">' +
                '                                    <a id="submit-zc" suda-uatrack="key=2018_blog_index&amp;value=my_signin" class="login-btn" onclick="toregister()">注册</a>'+
                '                            </div>' +
                '                        </div>' +
                '      </div> ' +
                '       <div class="b-user-talk" data-sudaclick="blog_dks">' +
                '                <h3>博客大咖说</h3>' +
                '                <span></span>'+
                '                <marquee direction="up" onMouseOver="this.stop()" onMouseOut="this.start()">' +
                '                    <ul id="dakashuo">' +
                '                    </ul>' +
                '                </marquee>' +
                '            </div>'
        }
        $("#login").html(content);

    }

            function toWrite(){
                location.href="/view/toView?view=WritingBlog";
            }
</script>
<script>
    (function(w){
        // 消息总线，应对与不同组建之间，状态交互。
        function MsgBus() {
            this.eventInfo = {};
        }
        MsgBus.prototype.subscribe = function(name,cb,ctx){
            if(Object.prototype.toString.call(name) !== '[object String]'){
                throw new Error('arguments error , name must be a String type');
            }
            if (Object.prototype.toString.call(cb) !== '[object Function]') {
                throw new Error('arguments error , cb must be a Function type');
            }
            if(!this.eventInfo[name]){
                this.eventInfo[name] = [];
            }
            this.eventInfo[name].push({
                cb:cb,
                ctx:ctx || null
            });
        }
        MsgBus.prototype.publish = function(name){
            var args = Array.prototype.slice.call(arguments,1);
            if(this.eventInfo[name]){
                for(var i = 0; i< this.eventInfo[name].length;i++){
                    this.eventInfo[name][i].cb.apply(this.eventInfo[name][i].ctx,args);
                }
            }
        }
        MsgBus.prototype.off = function(name,cb){
            if(this.eventInfo[name] && !cb){
                this.eventInfo[name] = [];
            }else{
                for (var i = 0; i < this.eventInfo[name].length; i++) {
                    if(cb === this.eventInfo[name][i].cb){
                        this.eventInfo[name].splice(i,1);
                    }
                }
            }
        }
        w.msgBus = new MsgBus();
    })(window);
    //
</script>
<script>
    var jsAssets = {
        'jq':'http://i0.sinaimg.cn/dy/js/jquery/jquery-1.7.2.min.js',
        'outloginLayer':'http://i.sso.sina.com.cn/js/outlogin_layer.js',
        'userPanel':'http://i.sso.sina.com.cn/js/user_panel_new_version_v2.js',
        'ssoLogin':'http://tech.sina.com.cn/js/717/20140827/index2014/top.js',
        'topNav':'http://n.sinaimg.cn/common/channelnav/js/nav.js'
    };
</script>
<!-- 导航 -->
<div class="nav" data-sudaclick=blog_nav>
    <div class="wrapper">
        <div class="logo">
            <a href="###"></a>
        </div>
        <ul class="nav-list">
            <li>
                <!--跳转娱乐路径-->
                <a target="_blank" href="../view/toView?view=hyule">娱乐</a>
            </li>
            <li>
                <!--跳转历史路径-->
                <a target="_blank" href="../view/toView?view=lishi">文史</a>
            </li>			<li>
                <a target="_blank" href="../view/toView?view=gp">股票</a>
            </li>			<li>
                <a target="_blank" href="../view/toView?view=jy">教育</a>
            </li>			<li>
                <a target="_blank" href="../view/toView?view=ty">体育</a>
            </li>
            <li>
                <a target="_blank" href="../view/toView?view=ms">美食</a>
            </li>
            <li>
                <a target="_blank" href="../view/toView?view=ye">育儿</a>
            </li>
            <li>
                <a target="_blank" href="../view/toView?view=xz">星座</a>
            </li>
            <li class="sub-nav">
                <a class="rank-nav" href="/view/toView?view=home">排行榜<i></i></a>
                <!--<ul class="down-list">
                    <li>
                        <a target="_blank" href="http://blog.sina.com.cn/lm/top/rank/"><span>博主排行</span></a>
                    </li>
                    <li>
                        <a target="_blank" href="http://blog.sina.com.cn/lm/rank/"><span>博文排行</span></a>
                    </li>
                    <li>
                        <a target="_blank" href="http://blog.sina.com.cn/lm/search/class/"><span>博客名录</span></a>
                    </li>
                </ul>-->
            </li>

        </ul>
        <script>
            // 添加滚动事件
            jsLoader(jsAssets.jq, function () {
                //nav交互内容
                $('.nav-list>li a').mouseenter(function () {
                    $(this).addClass('active');
                }).mouseleave(function () {
                    $(this).removeClass('active');
                });
                $('.nav .sub-nav').mouseenter(function(){
                    $(this).find('.down-list').show();
                }).mouseleave(function () {
                    $(this).find('.down-list').hide();
                });
                $('.sub-nav .down-list a').mouseenter(function(){
                    $(this).addClass('active');
                }).mouseleave(function(){
                    $(this).removeClass('active');
                });
            });
        </script>
        <div class="blog-map">
            <a href="http://blog.sina.com.cn/lm/map/" target="_blank">博客地图</a>
        </div>
        <div class="search">
            <div class="row">
                <div id='search-type-selector' data-val="article" class="label">
                    <span>博文</span><i></i>
                    <ul class="sub-label">
                        <li data-val="article" id="bowensosuo">
                            <span value="1">博文</span>
                        </li>
                        <li data-val="title">
                            <span value="2">标题</span>
                        </li>
                    </ul>
                </div>
                <!--es 搜索引擎 跳转路径-->
                <div class="search-input" id="innumb">
                    <input id="search" type="text" placeholder="搜索内容" autocomplete="off"><i suda-uatrack="key=2018_blog_index&value=blog_nav_search" onclick="Si()"></i>
                </div>
                <!--搜索引擎结束-->

            </div>

        </div>
    </div>
</div>

<!-- 导航结束 -->
<!-- 主体内容 -->
<div class="wrapper clearfix">
    <div class="blog-left">
        <!-- 活动专区 -->
        <div class="left-rec" data-sudaclick="blog_activity">
            <div class="l-title-1">
                <i class="l-line"></i>
                <h3>活动专区</h3>
                <i class="r-line"></i>
            </div>
            <div class="img"><a  href="###" target="_blank">
                <img src="/media/image/logHome.png" height="150" width="200"/>
            </a>
            </div>
            <ul  id="huodong">
                <!--<li><i></i><a target="_blank" href="http://blog.sina.com.cn/s/blog_496b2a650102xypf.html?tj=1">周末宅家解闷神器，5本轻松不费脑的漫画书送给你</a></li>
                <li><i></i><a target="_blank" href="http://blog.sina.com.cn/s/blog_496b2a650102xyiu.html?tj=1">足以满足业余爱好者的4本科普书，有趣又长知识！</a></li>
                <li><i></i><a target="_blank" href="http://blog.sina.com.cn/s/blog_496b2a650102xugd.html?tj=1">8部观影指南，看完你就get了看电影的正确姿势~</a></li>-->
            </ul>
        </div>
        <!-- 活动专区结束 -->
         <!--领域热文排行-->
        <div class="hot-rank">
            <div class="l-title-1">
                <i class="l-line"></i>
                <h3><a href="/view/toView?view=home" target="_blank">领域热文排行</a></h3>
                <i class="r-line"></i>
            </div>
            <ul class="tab">
                <li data-index="1">科技</li>
                <li data-index="2">百科</li>
               <!-- <li data-index="3">美食</li>
                <li data-index="4" class="last">体育</li>-->
            </ul>
          <!-- &lt;!&ndash;财经&ndash;&gt;-->
           <ul class="art-list" id="caijing" data-sudaclick="blog_enthot" >
            </ul>
             <!--&lt;!&ndash;财经结束&ndash;&gt;

             &lt;!&ndash;军事&ndash;&gt;-->
            <ul class="art-list" id="junshi" data-sudaclick="blog_culhot" style="display: none;">
            </ul>
            <!-- &lt;!&ndash;军事结束&ndash;&gt;

             &lt;!&ndash;美食&ndash;&gt;-->
            <ul class="art-list" id="meishi" data-sudaclick="blog_eladieshot" style="display: none;">
            </ul>
           <!-- &lt;!&ndash; 美食结束&ndash;&gt;

            &lt;!&ndash; 汽车 &ndash;&gt;-->
            <ul class="art-list" id="qichi" data-sudaclick="blog_pichot" style="display: none;">
            </ul>
            <!-- 汽车结束 -->
        </div>
    </div>
    <div class="blog-container">
        <div>
            <div class="blog-center">
                <!-- 滚动区域 -->
                <div class="slider main-slider" data-sudaclick=focus_pic>
                    <ul>
                        <li>
                            <a href="http://blog.sina.com.cn/s/blog_75cea2d60102ypvf.html?tj=1" target="_blank">
                                <img width="640" height="410" src="http://n.sinaimg.cn/blogapp/transform/250/w640h410/20190307/_z6T-htwhfzt1520212.jpg" alt="美如天堂的古寨，靠歌舞成功脱贫致富">
                                <div class="bg">
                                    <p>美如天堂的古寨，靠歌舞成功脱贫致富</p>
                                </div>
                            </a>
                        </li>	<li>
                        <a href="http://blog.sina.com.cn/s/blog_4d94cad70102yobk.html?tj=1" target="_blank">
                            <img width="640" height="410" src="http://n.sinaimg.cn/blogapp/transform/250/w640h410/20190307/MC_w-htwhfzt1525690.jpg" alt="非洲岛上三处绝美的海滩，有一个游客必到">
                            <div class="bg">
                                <p>非洲岛上三处绝美的海滩，有一个游客必到</p>
                            </div>
                        </a>
                    </li>	<li>
                        <a href="http://blog.sina.com.cn/s/blog_88523e890102ygr2.html?tj=1" target="_blank">
                            <img width="640" height="410" src="http://n.sinaimg.cn/blogapp/transform/250/w640h410/20190307/TrFu-htwhfzt1532904.jpg" alt="做了回土著人，亲身体验泰国农家乐">
                            <div class="bg">
                                <p>做了回土著人，亲身体验泰国农家乐</p>
                            </div>
                        </a>
                    </li>	<li>
                        <a href="http://blog.sina.com.cn/s/blog_4bb440080102ybwc.html?tj=1" target="_blank">
                            <img width="640" height="410" src="http://n.sinaimg.cn/blogapp/transform/250/w640h410/20190307/mEkf-htwhfzt1535131.jpg" alt="日本福岛，一个被你们误会了很久的地方">
                            <div class="bg">
                                <p>日本福岛，一个被你们误会了很久的地方</p>
                            </div>
                        </a>
                    </li>	<li>
                        <a href="http://blog.sina.com.cn/s/blog_55b806970102yc0v.html?tj=1" target="_blank">
                            <img width="640" height="410" src="http://n.sinaimg.cn/blogapp/transform/250/w640h410/20190307/r8B6-htwhfzt1545897.jpg" alt="失落的世界：热带雨林里被时光凝固的国度">
                            <div class="bg">
                                <p>失落的世界：热带雨林里被时光凝固的国度</p>
                            </div>
                        </a>
                    </li>
                    </ul>
                    <a class="left-arr" suda-uatrack="key=2018_blog_index&value=focus_slide" href="javascript:void(0);"></a>
                    <a class="right-arr" suda-uatrack="key=2018_blog_index&value=focus_slide" href="javascript:void(0);"></a>
                </div>
                <!-- 滚动区域结束 -->
                <div class="channel" data-sudaclick=rcmd_cul>
                    <span id="biaoti"></span>
                    <div class="title" id="journalism">

                    </div>
                    <ul id="ulnum">

                    </ul>
                </div>
            </div>

            <div class="blog-right" id="login">

                <!-- 登录信息结束 -->
                <!-- 每日图说 -->
            <div class="b-user-talk" data-sudaclick="blog_dks">
                <h3>博客大咖说</h3>
                <span></span>
                <marquee direction="up" onMouseOver="this.stop()" onMouseOut="this.start()">
                    <ul id="dakashuo">
                    </ul>
                </marquee>
            </div>
                <!--每日图说结束-->
        </div>
        </div>
        <div class="clearfix">
            <div class="blog-center">
                <!-- feed start -->
                <script type="text/javascript">
                    //TODO: 全局feed对象 信息
                    var FEED_CARD_INFO = {
                        //feed 的pageid
                        pageId:143,
                        num:30,//feed 单次请求长度
                        feedWidth:640,//feed展示宽度
                        imgMargin:8,//组图中的图片左右间距
                        //兴趣设置参数
                        subCateID: 100,//只有这个来记录用户订阅的顺序
                        //固定首个位置
                        firstTab: {
                            txt: '全部',
                            lid: 2942
                        },
                        //默认
                        tabs: [2942, 2883, 2907, 2887, 2901, 2911, 2900],
                        //全部
                        allTabs: [2942, 2883, 2907, 2887, 2901, 2911, 2900, 2888, 3086, 2896, 2903, 2902, 2912, 2889, 2885, 2886, 2892, 2895, 2893, 2894, 2890, 2905, 2891, 2909, 2908, 2910, 2898, 2884, 2904, 2897, 2906, 2899], //全部, 故事, 时评, 旅游, 影视, 文学, 八卦, 美食, 见闻, 文艺, 情感, 心理学, 人文, 摄影, 书评, 历史, 知识, 健身, 穿搭, 美妆, 健康, 育儿, DIY, 科技, 财经, 体育, 二次元, 诗歌, 青春, 游戏, 教育, 星座
                        tabInfos: {
                            tab_2883:{
                                txt: '故事',
                                lid: 2883
                            },
                            tab_2907:{
                                txt: '时评',
                                lid: 2907
                            },
                            tab_2887:{
                                txt: '旅游',
                                lid: 2887
                            },
                            tab_2901:{
                                txt: '影视',
                                lid: 2901
                            },
                            tab_2911:{
                                txt: '文学',
                                lid: 2911
                            },
                            tab_2900:{
                                txt: '八卦',
                                lid: 2900
                            },
                            tab_2888:{
                                txt: '美食',
                                lid: 2888
                            },
                            tab_3086:{
                                txt: '见闻',
                                lid: 3086
                            },
                            tab_2896:{
                                txt: '文艺',
                                lid: 2896
                            },
                            tab_2903:{
                                txt: '情感',
                                lid: 2903
                            },
                            tab_2902:{
                                txt: '心理学',
                                lid: 2902
                            },
                            tab_2912:{
                                txt: '人文',
                                lid: 2912
                            },
                            tab_2889:{
                                txt: '摄影',
                                lid: 2889
                            },
                            tab_2885:{
                                txt: '书评',
                                lid: 2885
                            },
                            tab_2886:{
                                txt: '历史',
                                lid: 2886
                            },
                            tab_2892:{
                                txt: '知识',
                                lid: 2892
                            },
                            tab_2895:{
                                txt: '健身',
                                lid: 2895
                            },
                            tab_2893:{
                                txt: '穿搭',
                                lid: 2893
                            },
                            tab_2894:{
                                txt: '美妆',
                                lid: 2894
                            },
                            tab_2890:{
                                txt: '健康',
                                lid: 2890
                            },
                            tab_2905:{
                                txt: '育儿',
                                lid: 2905
                            },
                            tab_2891:{
                                txt: 'DIY',
                                lid: 2891
                            },
                            tab_2909:{
                                txt: '科技',
                                lid: 2909
                            },
                            tab_2908:{
                                txt: '财经',
                                lid: 2908
                            },
                            tab_2910:{
                                txt: '体育',
                                lid: 2910
                            },
                            tab_2898:{
                                txt: '二次元',
                                lid: 2898
                            },
                            tab_2884:{
                                txt: '诗歌',
                                lid: 2884
                            },
                            tab_2904:{
                                txt: '青春',
                                lid: 2904
                            },
                            tab_2897:{
                                txt: '游戏',
                                lid: 2897
                            },
                            tab_2906:{
                                txt: '教育',
                                lid: 2906
                            },
                            tab_2899:{
                                txt: '星座',
                                lid: 2899
                            }
                        }
                    }
                </script>
                <!-- 大话历史 -->
               <!-- <div class="channel" data-sudaclick=rcmd_cul>
                    <span id="biaoti"></span>
                    <div class="title" id="journalism">

                    </div>
                    <ul id="ulnum">

                    </ul>
                </div>
                 大话历史 结束 -->
            </div>
        </div>
    </div>
</div>
</div>
<script>
    function showBks(){
        $.ajax({
            type:"get",
            url:"/bks/selectBks",
            success:function(data){
                var countent='';
                $.each(data,function (index,obj){
                    var unixTimestamp =new Date(obj.bkdate);
                    commonTime = unixTimestamp.toLocaleString();
                    countent+='<li><a href="###" target="_blank"><img src="'+obj.img+'" alt='+obj.nickName+'>' +
                        '</a><div><p><a href="http://blog.sina.com.cn/s/blog_70b01ac50102yb7t.html?tj=1" target="_blank">'+obj.bktext+'</a></p>'+
                        '<span>'+commonTime+'</span></div></li>';
                    if(index==4){
                        return  false ;
                    }
                });
                $("#dakashuo").append(countent);
            },
            error:function(){
                alert("程序有误,请检查")
            }

        })
    }
</script>
<!-- 主体内容结束 -->


<input hidden="hidden" id="userid" th:value="${session.user?.bzid}">
<input hidden="hidden" id="usid" th:value="${session.user?.userId}">
<input hidden="hidden" id="hy" th:value="${session.user?.hy}">
<input hidden="hidden" id="username" th:value="${session.user?.bzname}">
<input hidden="hidden" id="userjifen" th:value="${session.user?.jifen}">
<input hidden="hidden" id="nickname" th:value="${session.user?.nickName}">
<input hidden="hidden" id="imgha" th:value="${session.user?.img}">
</body>

</html>
